package com.bootdo.wordbar.service;

import com.bootdo.wordbar.domain.WordbarDO;

import java.util.List;
import java.util.Map;

/**
 * 词条任务表
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-08-07 11:10:37
 */
public interface WordbarService {
	
	WordbarDO get(Integer id);
	
	List<WordbarDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int count2(Map<String, Object> map);
	
	int save(WordbarDO wordbar);
	
	int update(WordbarDO wordbar);
	
	int remove(Integer id);
	
	int clear();
	
	int batchRemove(Integer[] ids);
}
